import { InjectionKey, Ref } from 'vue';

export interface Params {
    name: string;
}

export const paramsKey: InjectionKey<Ref<Params>> = Symbol('');

export type setParams = (params: Params) => void;
export const setParamsKey: InjectionKey<setParams> = Symbol('');
